/**
 * A look at various object classes in Groovy
 *
 * User: mstine
 * Date: Mar 18, 2008
 * Time: 10:57:15 AM
 */
println "7.class => " + 7.class + "\n"

println "3.14.class => " + 3.14.class + "\n"

println '\'I \'m feelin\' groovy\'.class => ' + 'I \'m feelin\' groovy.class'.class + "\n"

println "\"I'm feelin' groovy\".class => " + "I'm feelin' groovy".class + "\n"

def changeMyType = 'Memphis JUG';
println "\"Hello ${changeMyType}\".class => " + "Hello ${changeMyType}".class + "\n"

def heredocs = """Wow!

A

Multi-line

String!

"""
println heredocs
println 'heredocs.class => ' + heredocs.class + "\n"

println '[1, 2, 3].class => ' + [1, 2, 3].class + "\n"

println '(18..65).class => ' + (18..65).class + "\n"

println "[USD: 'US Dollar', GBP: 'Pounds', EUR: 'Euros'].class => " + [USD: 'US Dollar', GBP: 'Pounds', EUR: 'Euros'].class + "\n"

println "[USD: 'US Dollar', GBP: 'Pounds', EUR: 'Euros'].getClass() => " + [USD: 'US Dollar', GBP: 'Pounds', EUR: 'Euros'].getClass() + "\n"

//GOTO: collectionsSugar.groovy